package com.itheima.service;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * 加密
 */
public class tre {
    public static void main(String[] args) {
        BCryptPasswordEncoder bcp = new BCryptPasswordEncoder();
        String admin = bcp.encode("test");
        System.out.println(admin);
    }
}
